package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zds
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Gate对象", description="")
public class Gate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备ID")
    @TableField("device_id")
    private Long deviceId;

    @ApiModelProperty(value = "所属车站")
    @TableField("station_name")
    private String stationName;

    @ApiModelProperty(value = "所属候车室")
    @TableField("region_name")
    private String regionName;

    @ApiModelProperty(value = "检票口用途")
    @TableField("ticket_gate_use")
    private String ticketGateUse;

    @ApiModelProperty(value = "检票口名称")
    @TableField("ticket_gate_name")
    private String ticketGateName;

    @ApiModelProperty(value = "维护人")
    @TableField("maintainer")
    private String maintainer;

    @ApiModelProperty(value = "维护人电话")
    @TableField("maintainer_tel")
    private String maintainerTel;

    @ApiModelProperty(value = "备注信息")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "是否已删除，默认0，0未删除，1已删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
